<?php $this->display("objects/breadcrumbs") ?>

<h2><?php _e($object['title']) ?></h2>

<ul class="editlinks">
<?php foreach ($editactions as $i => $j): ?>
	<?php if ($i == $action): ?>
		<li class="selected"><?php _e($j) ?></li>
	<?php else: ?>
		<li><a href="<?php echo Gene::makeLink($object); ?>/edit/<?php _e($i) ?>"><?php _e($j) ?></a></li>
	<?php endif; ?>
<?php endforeach; ?>
</ul>

<div class="editcontent">
<?php if ($errormsg): ?>
	<p class="errormessage"><?php _e($errormsg) ?></p>
<?php endif; ?>

<?php if ($revision): ?>
	<p class="warning"><strong>You are editing an older version of this document.</strong><br />When saved, any changes since this version will be lost.</p>
<?php endif; ?>

<?php echo $editcontent ?>
</div>